package StudyCode.summary.mycollection;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class ConvertIntegerArrayToString {
	public final static String toString(Integer[] array, String split) {
		StringBuilder sb = new StringBuilder();
		for (Integer item : array) {
			sb.append(item.toString());
			sb.append(split);
		}
		String ret = sb.toString();
		if (ret.endsWith(split))
			ret = ret.substring(0, ret.length() - split.length());
		return ret;
	}
}
